package com.anche.cywebnew.Service.auditManager.impl;

import com.anche.cywebnew.DAO.auditManager.InterLogMapper;
import com.anche.cywebnew.Pojo.auditManager.InterLog;
import com.anche.cywebnew.Pojo.logManager.LogInfo;
import com.anche.cywebnew.Service.auditManager.InterLogService;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InterLogServiceImpl implements InterLogService {

    @Autowired
    private InterLogMapper interLogMapper;

    @Override
    public Page<InterLog> getInterLogPager(Integer page, Integer limit, InterLog interLog) {
        Page<InterLog> page1 = PageHelper.startPage(page, limit);
        interLogMapper.selectInterLogList(interLog);
        return page1;
    }
}
